]> dgit.raspbian.org Git - qt6-base.git/commitdiff
remove RPATH/RUNPATH from examples' binaries.
authorLisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Sun, 20 Sep 2026 14:12:22 +0000 (16:12 +0200)
committerPatrick Franz <deltaone@debian.org>
Sun, 20 Sep 2026 14:12:22 +0000 (16:12 +0200)
Forwarded: not-needed
Last-Update: 2024-02-15

On Debian the examples are built against system's libraries, so there is no
need to set RPATH/RUNPATH.

Gbp-Pq: Name remove_rpath_from_examples.patch

cmake/QtBuildRepoExamplesHelpers.cmake

index e1527aa794c05bc89b0f99ea66c5384b7f2208a0..d4e039bcc537f4ffd50f8ca3c8f3abfb1a3d66a5 100644 (file)
@@ -128,7 +128,7 @@ macro(qt_examples_build_begin)
     # This means that installed examples are not relocatable at the moment. We would need to
     # annotate where each example is installed to, to be able to derive a relative rpath, and it
     # seems there's no way to query such information from CMake itself.
-    set(CMAKE_INSTALL_RPATH "${_default_install_rpath}")
+    #set(CMAKE_INSTALL_RPATH "${_default_install_rpath}")
 
     install(CODE "
 # Backup CMAKE_INSTALL_PREFIX because we're going to change it in each example subdirectory